
object ScalatestAPP {
  def main(args: Array[String]): Unit = {

    val locker1: String = "其他包裹"
    var locker2: Int = 12345
    val locker3 = "生鲜食品"

    println("快递柜状态：")
    println(s"格子1（locker1）里放着：$locker1")
    println(s"格子2（locker2）里的取件码是：$locker2")
    println(s"格子3（locker3）里放着：$locker3")

    locker2 = 54321
    println(s"格子2（locker2）更新后的取件码是：$locker2")

    val newLocker: String = "服装包裹"
    println(s"新增格子（newLocker）里放着：$newLocker")
  }
}
